package com.example.poverty.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 村民留言
 */
public class VillagersMessage implements Serializable {

    //    主键
    private Integer id;
    //    村民姓名
    private String villageName;
    //    村镇名称
    private String townName;
    //    干部姓名
    private String cadreName;
    //    留言时间
    private Date time;
    //    留言状态
    private Byte status;
    //    留言内容
    private String messageContent;
    //    解决状态
    private Byte resolutionStatus;
    //    困难类型
    private String typeOfDifficulty;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVillageName() {
        return villageName;
    }

    public void setVillageName(String villageName) {
        this.villageName = villageName;
    }

    public String getTownName() {
        return townName;
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }

    public String getCadreName() {
        return cadreName;
    }

    public void setCadreName(String cadreName) {
        this.cadreName = cadreName;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public Byte getResolutionStatus() {
        return resolutionStatus;
    }

    public void setResolutionStatus(Byte resolutionStatus) {
        this.resolutionStatus = resolutionStatus;
    }

    public String getTypeOfDifficulty() {
        return typeOfDifficulty;
    }

    public void setTypeOfDifficulty(String typeOfDifficulty) {
        this.typeOfDifficulty = typeOfDifficulty;
    }

    @Override
    public String toString() {
        return "VillagersMessage{" +
                "id=" + id +
                ", villageName='" + villageName + '\'' +
                ", townName='" + townName + '\'' +
                ", cadreName='" + cadreName + '\'' +
                ", time=" + time +
                ", status=" + status +
                ", messageContent='" + messageContent + '\'' +
                ", resolutionStatus=" + resolutionStatus +
                ", typeOfDifficulty='" + typeOfDifficulty + '\'' +
                '}';
    }
}
